package com.example.dao.factory;

import com.example.dao.UserDao;
import com.example.dao.impl.UserDaoImpl;

/**
 * @author Wenyi Luo
 * @ClassName StaticFactory
 * @Description TODO
 * @date 22/2/27 16:04
 * @version: 1.0
 */
//工厂静态方法实例化
public class StaticFactory {
    public static UserDao getUserDao(){
        return new UserDaoImpl();
    }
}
